@import url("https://fonts.googleapis.com/css2?family=Popins:wght@400;500;600;700&display=swap");
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins" ,sans-serif;
}
body{
    height: 100vh;
    width: 100%;
    background: url("./static/background.jpg") center;
    background-size: cover;
}
.sidebar{
    position: fixed;
    top: 0;
    left: 0;
    width: 110px;
    height: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(17px);
    --webkit-backdrop-filter: blur(17px);
    border-right: 1px solid rgba(255,255,255,0.6);
    transition: width 0.3s ease;
}
.sidebar:hover{
    width: 260px;
}
.sidebar .logo{
    display: flex;
    align-items: center;
    padding: 25px 10px 15px;
}
.logo img{
    width: 43px;
    border-radius: 50%;
}
.logo h2{
    font-weight: 600;
    font-size: 1.15rem;
    margin-left: 15px;
    display: none;
}
.sidebar:hover .logo h2{
    display: block;
}
.sidebar .links{
    height: calc(100% - 140px);
    overflow-y: auto;
    scrollbar-width: none;
    list-style: none;
    margin-top: 20px;
}
.sidebar .links::-webkit-scrollbar{
    display: none;
}
.sidebar .links h4{
    color: #222;
    font-weight: 500;
    margin-bottom: 10px;
    display: none;
}
.sidebar:hover .links h4{
    display: block;
}
.links li{
    display: flex;
    align-items: center;
}
.links li:hover{
    border-radius: 4px;
    cursor: pointer;
    background: #000;
}
.links li:hover span{
    color: #fff;
}
.links hr{
    border-color: #fff;
    margin: 10px 8px;
}
.sidebar:hover .links hr{
    border-color: transparent;
}
.links li span{
    padding: 12px 10px;
}
.links li a{
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    padding: 10px;
    white-space: nowrap;
    display: none;
}
.sidebar:hover .links li a{
    display: block;
}
